package com.example.demo.services;

import com.example.demo.entity.teacherLogin;
import com.example.demo.entity.userLogin;
import org.springframework.stereotype.Service;

import java.util.List;


public interface userLoginServices {
    public List<userLogin> selectall();

    public Integer adduser(String id,String name,String loginuser,String password);

    public userLogin selectLogin(String loginName,String password);

    teacherLogin selectTeacher(Integer id ,String name);

    Integer updateLogin(String name,String id);

    Integer updatePassword(String userId,String password);


}
